<template>
  <div class="userinfo">
    <slot name="userimg"></slot>
    <span>{{username}}</span>

  </div>
</template>

<script>
export default {
  name: "HomeUserInfoItem",
  props: ['username'],
}
</script>

<style scoped>
  .userinfo {
    color: white;
    float: right;
    margin-top: 19px;
    margin-right: 16px;
  }
</style>